package day_2022_4_to_7.day48;

import java.util.Scanner;

/**
 * 因子个数
 * @author haomin
 * @date 2022/05/28 10:43
 **/

// 30<br/>26<br/>20

public class Day30_2_NumberOfFactors {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while (in.hasNext()) {
            int num = in.nextInt();
            int count = 0;
            for(int i = 2;i <= Math.sqrt(num);i++){
                if(num % i == 0){
                    while(num % i == 0){
                        num /= i;
                    }
                    count++;
                }
            }
            if(num != 1){
                count++;
            }
            System.out.println(count);
        }
    }
}
